<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>投票系统</title>
</head>
<body>
    <%for(let i=0;i<voteList.length;i++){%>
        <button onclick="location.href='/vote/<%=voteList[i].id%>'"><%=voteList[i].nm%>---<%=voteList[i].vote%></button>
    <%}%>
</body>
</html>